@(pictureForm: Form[Picture], msg: String)
@helper.form(action = routes.Pictures.upload, 'enctype -> "multipart/form-data") {
    <input name="id" type="hidden" value="@pictureForm("id").value" />
    @helper.inputText(pictureForm("name"))
    @helper.textarea(pictureForm("description"))
    <input type="file" name="picture">
    <br />
    <button id="submit-picture" class="btn btn-primary">@if(pictureForm("id").value == null || pictureForm("id").value.isEmpty){Create}else{Edit}</button>
    @if(!msg.isEmpty()){
        @Html(msg)
    }
}